package cn.icanci.loopstack.script;

import cn.icanci.loopstack.script.impl.LsiScriptEngineImpl;

/**
 * 脚本执行管理器
 * 
 * @author icanci
 * @since 1.0 Created in 2022/11/12 22:27
 */
public final class LsiScriptEngineManager {

    /**
     * 获取 LSI 执行引擎
     *
     * @return 返回 LSI 执行引擎
     */
    public static LsiScriptEngine getLsiScriptEngine() {
        return LsiScriptEngineHolder.INSTANCE;
    }

    private static class LsiScriptEngineHolder {
        private static final LsiScriptEngine INSTANCE = new LsiScriptEngineImpl();
    }
}
